﻿using Itech_Run.Application.Contracts.Shared.Dto;
using Itech_Run.Sys.Application.Contracts.Dto;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Itech_Run.Sys.Application.Contracts.Service
{
    public interface ISysRoleService : IApplicationService
    {
        Task<List<KeyValueDto>> GetListKeyValueAsync();

        Task<SysRoleDto> GetAsync(string id);
        Task<PagedResultDto<SysRoleDto>> GetListAsync(SysRoleListDto listDto);
        Task<SysRoleDto> InsertAsync(SysRoleCreateDto dto, string operateUser);
        Task<SysRoleDto> UpdateAsync(SysRoleUpdateDto dto, string operateUser);
        Task DeleteAsync(string id);
    }
}
